package com.beidouapp.security.model;

import java.util.List;

public class Menu extends SubMenu
{
	public Menu(Long id, String code, String name, String url, boolean isExpend, List<SubMenu> submenu)
	{
		super();
		this.id = id;
		this.code = code;
		this.name = name;
		this.url = url;
		this.isExpend = isExpend;
		this.submenu = submenu;
	}

	public Menu()
	{}

	boolean isExpend;
	List<SubMenu> submenu;

	public boolean isExpend()
	{
		return isExpend;
	}

	public void setExpend(boolean isExpend)
	{
		this.isExpend = isExpend;
	}

	public List<SubMenu> getSubmenu()
	{
		return submenu;
	}

	public void setSubmenu(List<SubMenu> submenu)
	{
		this.submenu = submenu;
	}
}
